Database Restore
Allows a previously backed up database to be restored to the controller.
Type: Restore
Copy
http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Restore&SubType=Database
The files are uploaded using multipart/form-data which means the POST header is Command&Type=Restore&SubType=Database&Sequence= which gets encrypted. Then there is a separate section for the actual file itself.
The Protege WX DLL receives and decrypts the POST header ( ...Restore&SubType=Database... ) which triggers it to then request the associated file from the web server's receiving thread. The file itself is sent as raw binary data.
For an example of the HTML transfer see Update HTTPS Certificate.
Success Response
Copy
OK
Errors
Copy
Backup restore failed.
Corrective Action: Check that the file that was submitted was originally created by a WX Controller using a database backup request.